﻿using GrayParrot.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrayParrot.Communications.SignalR.Configuration
{
    public static class SignalRSettingsExtension
    {
        public static string GetBaseUrl(this IConfigurationManagerHelper value)
        {
            string retValue = string.Empty;

            SignalRSettings cfg = SignalRSettings.GetConfiguration(@"GrayParrotGroup/SignalRSettings");
            retValue = cfg.BaseUrl;

            return retValue;
        }
    }
}
